package com.designPattern.constructor;

public class House {
    String name;
    String type;
    int basicLength;
    int roofLength;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getBasicLength() {
        return basicLength;
    }

    public void setBasicLength(int basicLength) {
        this.basicLength = basicLength;
    }

    public int getRoofLength() {
        return roofLength;
    }

    public void setRoofLength(int roofLength) {
        this.roofLength = roofLength;
    }

    @Override
    public String toString() {
        return "House{" +
                "name='" + name + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
